import React, { Component } from 'react';
import { observer, inject } from 'mobx-react';
import { withRouter } from 'react-router-dom';
import { toJS } from 'mobx';
import HidenPage from '../../tabPages/hiden';

@inject('homePageTestStore')
@withRouter
@observer
export default class MorePage extends Component {
  render() {
    const { hidenMenuConfig, disableMenu, isHidenmenuInited } = this.props.homePageTestStore;
    return (
        <div style={{height: '100%',overflow: 'auto' }}>
            <HidenPage
              hidenMenuConfig={toJS(hidenMenuConfig)}
              disableMenu={disableMenu}
              isHidenmenuInited={isHidenmenuInited}
            >
            </HidenPage>
        </div>
    );
  }
}